05. How to store data

L9 06 How To Store Data V1

Which statements are true about using a database for an offline cache?

SOLUTION:
  • Storing the latest result in the database means the offline cache is always up to date.
  • Always displaying from the database exposes issues stale cache data during development.
  • When updating values, make sure the server responds successfully before saving them in the offline cache.